namespace BookStroe.Api;

public class Startup
{
    public void Configure(IAppicationBuilder app)
    {
        app.UseRouting();
        app.UseEndpoints(endPoints=>{
            endPoints.MapControllers();
        });
    }

    public void ConfigureServices(IServicesCollection services)
    {
        services.AddEndpointsApiExplorer();
        services.AddSwaggerGen();
        services.AddControllers();
    }
}